﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.ServiceModel;
using WinformsTest.ServiceReference1;

namespace WinformsTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            ServiciosBySClient obj = new ServiciosBySClient();
            dataGridView1.DataSource = obj.BuscarProducto("H");
            dataGridView2.DataSource = obj.ObtenerCategorias();
            if (obj.AutenticacionUsuario("Michael","Michael"))
            {
                MessageBox.Show("Michael te entro!!");
            }


        }
    }
}
